package com.bw.demo.model;

import javax.validation.constraints.NotBlank;

public class Course 
{
	@NotBlank(message = "id参数丢失")
	private String id;
	
	@NotBlank(message = "课程不能为空")
	private String subject;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getSubject() {
		return subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}
	
	
}
